//
//  UIView+WTExtend.h
//  WTLiveSDKDemo
//
//  Created by ben on 16/10/13.
//  Copyright © 2016年 ben. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "UIView+Toast.h"
#import "KLCPopup.h"

@interface UIView (WTExtend)

@property (nonatomic,strong) KLCPopup* wt_popup;

- (UIViewController *) firstViewController;

- (id) traverseResponderChainForUIViewController;

- (void)setMaskTo:(UIView*)view byRoundingCorners:(UIRectCorner)corners;

- (void)showTip:(NSString*)title;

- (void)showTip:(NSString *)title completion:(void(^)())completion;

- (void)popUpView:(KLCPopupHorizontalLayout)h_layout v_layout:(KLCPopupVerticalLayout)v_layout;
@end
